MessageConfig enum Null safety

发送消息的可靠有序性

Constants

reliableOrdered → const MessageConfig

低延时可靠有序消息

const MessageConfig(0)
unreliableOrdered → const MessageConfig

超低延时有序消息

const MessageConfig(1)
unreliableUnordered → const MessageConfig

超低延时无序消息

const MessageConfig(2)
values → const List<MessageConfig>

A constant List of the values in this enum, in order of their declaration.

const List<MessageConfig>

Properties

hashCode → int
The hash code for this object. [...]
read-only, inherited
index → int

The integer index of this enum.

final
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() → String
A string representation of this object. [...]
override

Operators

operator ==(Object other) → bool
The equality operator. [...]
inherited